package com.camel.base.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.camel.base.mapper.ZsSeatMapper;
import com.camel.base.model.ZsSeat;
import com.camel.base.service.ZsSeatService;
import com.camel.core.service.AbstractBaseCommonService;
import org.springframework.stereotype.Service;

/**
 * @author 86183
 * @description 针对表【zs_seat(坐席)】的数据库操作Service实现
 * @createDate 2023-02-13 17:37:54
 */
@Service
public class ZsSeatServiceImpl extends AbstractBaseCommonService<ZsSeatMapper, ZsSeat> implements ZsSeatService<ZsSeat> {

    @Override
    public ZsSeat getByUid(Integer uid) {
        return getOne(new QueryWrapper<ZsSeat>().eq("uid", uid), false);
    }
}




